@(param:Integer, OeuvreForm: Form[models.Oeuvre], Results:List[String])


@main("Home"){&nbsp;}{
	
	
	 
	
	@helper.form(action=routes.Recherche.rechercher(),'id->"formulairerecherche" ,'class-> "form-group form-slide",'role->"form") {   
       	<div class="hero-unit ">
       		<label class="checkbox inline no_indent">
				<input type="checkbox" id="inlineCheckbox1" value="all"> All
			</label>
			<label class="checkbox inline no_indent">
				<input type="checkbox" id="inlineCheckbox2" value="images"> Images
			</label>
			<label class="checkbox inline no_indent">
				<input type="checkbox" id="inlineCheckbox3" value="videos"> Videos
			</label>					
			<label class="checkbox inline no_indent">
				<input type="checkbox" id="inlineCheckbox3" value="sounds"> Sounds
			</label>
			<hr>
      		<div class="input-append ">						   
            	@helper.inputText(OeuvreForm("parametre"), 'class->"span9 form-input-slide", 'placeholder ->"Rechercher une oeuvre " )
        		<div class="btn-group " style="margin-left:710px;margin-top:-12.4%;">          			
	            	<button class="btn btn-info dropdown-toggle">Rechercher</button>	            	    		           
		       	</div>        
			</div>
			
									        
    	</div>        		
    }	
    	
    
    @if(Results != null ){	
    	
    	<div class="well">
			<h3 style="color:#71a19b;position:center;">
			@if(param > 0 ){
				Résultats : @param réponses 
			}
			@if(param == 1){
				Résultat  :@param réponse
			}
			</h3>
		</div>
		
    	<!-- je parcours la liste des oeuvres trouv� par le controleur Recherche -->
    	
    	<div class="container">
    		<div class="row">
	        	<div class="span12">
		    		<ul class="thumbnails">
    	@for(o <- Results){    	 
    				   
	      			   <li class="span6 ">
		                  <div class="thumbnail clearfix">
		                    <img src="http://placehold.it/320x200" alt="ALT NAME" class="img-thumbnail pull-left span2 clearfix" style='margin-right:10px'>
		                    <div class="caption" class="pull-left">		                            
		                      <a href="#" >@o</a>		                      
		                      <small><b>RG: </b>@o</small>  
		                    </div>
		                  </div>
		                </li>		               
		}
					</ul>
				</div>
			</div>
		</div>
	}
	@if(param == 0  ){	
		<div >
			<blockquote><p class="well alert-block">No results for the moment : try again.</p></blockquote>
		</div>
	}
	
}